//
//  MedicalRecordPictureItemCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2021/8/19.
//  Copyright © 2021 QDSG. All rights reserved.
//

import UIKit

class MedicalRecordPictureItemCell: UICollectionViewCell {
    
    var url: String? {
        didSet {
            guard let url = url else { return }
            
            imageView.kf.setImage(with: URL(string: url), placeholder: UIImage(named: ""))
        }
    }

    @IBOutlet private weak var imageView: UIImageView! {
        didSet {
            imageView.layer.cornerRadius = 4
        }
    }

}
